Version

ItemOperationResult<T> Constructor(T,DataErrorInfo,Boolean)

Constructor. Initializes a new instance of ItemOperationResult<T>.
Syntax
'Declaration
 
Public Function New( _
   ByVal item As T, _
   ByVal errorInfo As DataErrorInfo, _
   ByVal markComplete As Boolean _
)
public ItemOperationResult<T>( 
   T item,
   DataErrorInfo errorInfo,
   bool markComplete
)

Parameters

item
Item associated with the operation.
errorInfo
Error information if there's an error.
markComplete
Whether to mark the operation as complete. Pass false for asynchronous operation whose result is going to be available later.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also